//
//  CustomerSwitchButton.h
//  JomooCloudApp
//
//  Created by chewyong on 2018/10/9.
//

#import <UIKit/UIKit.h>

@protocol CustomerSwitchButtonDelegate<NSObject>

@optional

- (void)selectButtonIndex:(NSInteger)index;

@end

@interface CustomerSwitchButton : UIView

@property(nonatomic, weak) IBOutlet UIView *backgroundView;
@property(nonatomic, weak) IBOutlet UIButton *firstButton;
@property(nonatomic, weak) IBOutlet UIButton *secondButton;
@property(nonatomic, weak) IBOutlet UIButton *thirdButton;

@property(nonatomic, assign) NSInteger selectIndex;
@property(nonatomic, assign) id<CustomerSwitchButtonDelegate> delegate;

@end
